<tr>
<td><%= ogxtrainee.nombre %></td>
<td><%= ogxtrainee.email %></td>
<td><%= ogxtrainee.pais %></td>
<td><%= ogxtrainee.telefono %></td>
<td><%= ogxtrainee.estado_trainee.descripcion %></td>
<td style="text-align: center;"><%= link_to image_tag("preview-16x16.png", :border=>0, :title=>'Ver'), 
																							ogxtrainee %></td>
																							

<% get_mod do %>

	<td style="text-align: center;"><%= link_to image_tag("edit-16x16.png", :border=>0, :title=>'Editar'), 
																										 edit_ogxtrainee_path(ogxtrainee) %></td>

	<td style="text-align: center;"><%= link_to image_tag("delete-16x16.png", :border=>0, :title=>'Eliminar'), 
																							ogxtrainee, 
																							:confirm => 'Seguro que quiere eliminar?', 
																							:method => :delete
																							%></td>
																							
		<% end %> 																					
																							
   <td><%= if ogxtrainee.ogxcurriculum != nil then
					link_to image_tag("ver_cv.png", :border=>0, :title=>'Ver Curriculum'), ogxcurriculum_path(ogxtrainee.ogxcurriculum) 
        else 
        	get_mod do
		       	link_to image_tag("add_cv.png", :border=>0, :title=>'Agregar Curriculum'), new_ogxtrainee_ogxcurriculum_path(ogxtrainee)
    		  end
        end
     %></td>

</tr>
